$( document ).ready( function{
  alert( "asdf" );
} );

window.onload  =  function ( )
{
 		alert( "dddd" );
}